<html>
<body>
<div id="page1" style="height:1200px;">
    <div style="font-size: 29px;text-align: center;font-weight: 900;height: 200px;line-height: 200px;">
        证书签收表
    </div>
    <div style="font-size: 21px;">
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;现有 ${result.dep_name!} ， ${result.specialized!} 专业，学生共 ${result.student_count!} 名，报考 ${result.project_name!} 工种
        ${result.project_rank!} 级别的考试，获得证书 ${result.student_has_cart_count!} 个。
        <div style="text-align: center;margin-top:30px; ">领证考生名单如下：（见名单附件）</div>
    </div>
    <div style="font-size: 21px;float: right;margin-top: 500px;margin-right: 150px;">
       <p>证书签收人：</p>
       <p>证书签收时间：</p>
    </div>
</div>
<#list list as ll>
    <div id="page${ll_index+2}">
        <div style="width: 100%;font-size: 22px;text-align: center;font-weight: 900;">
            ${ll.class_name}  领证名单表
        </div>
        <div style="width: 100%;font-size: 16px;text-align: right;margin: 10px 0;">
            <strong>报考单位：</strong>${result.dep_name!}  &nbsp;&nbsp;<strong>时间：</strong>${now_time}
        </div>
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab">
            <tr>
                <th >序号</th>
                <th>姓名</th>
                <th>身份证号码</th>
                <th>手机</th>
                <th>项目</th>
                <th>证书编号</th>
            </tr>
            <#list ll.content as bps>
                <tr>
                    <td>${bps_index+1}</td>
                    <td>${bps.student_name}</td>
                    <td>${bps.student_id_cart}</td>
                    <td>${bps.student_tel_phone}</td>
                    <td>${bps.project_name}</td>
                    <td>${bps.project_card_code}</td>
                </tr>
            </#list>
        </table>
    </div>
</#list>
<!-- 插入打印控件 -->
<OBJECT  ID="jatoolsPrinter" CLASSID="CLSID:B43D3361-D075-4BE2-87FE-057188254255"
         codebase="jatoolsPrinter.cab#version=8,6,0,0"></OBJECT>
<script>
    function doPrint() {
        myDoc = {
            settings:{
                paperName:'a4',
                orientation:1,
                topMargin:100,
                leftMargin:100,
                bottomMargin:100,
                rightMargin:100
            },
            documents: document,
            /*
             要打印的div 对象在本文档中，控件将从本文档中的 id 为 'page1' 的div对象，
             作为首页打印id 为'page2'的作为第二页打印            */
            copyrights: '杰创软件拥有版权  www.jatools.com' // 版权声明,必须
        };
        jatoolsPrinter.printPreview(myDoc);
    }
</script>

</body>
</html>